package com.example.project.Dao;

import com.example.project.Entity.Blog;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BlogDao {
    public void SaveBlog(Blog blog);
    public void DeleteBlog(Blog blog);
    public void backBlog(int blog_id, String date);
    public Blog SelectBlogById(int blog_id);
    public void addCommentsNumber(int blog_id);
    public void subCommentsNumber(int blog_id);
    public void addClick(int blog_id);
    public void addLikesNumber(int blog_id);
    public void subLikesNumber(int blog_id);
    public void addDownLoad(int blog_id);
}
